package com.member.shop.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.member.shop.domain.SysBizMarketPage;
import com.member.shop.dto.SysBizMarketPageDto;
import com.member.shop.dto.SysBizSaleActivityDto;

import java.util.List;

/**
 * 营销页面定义Service接口
 *
 * @author lixinchen
 * @date 2025-02-14
 */
public interface ISysBizMarketPageService extends IService<SysBizMarketPage> {
    /**
     * 查询营销页面定义
     *
     * @param id 营销页面定义主键
     * @return 营销页面定义
     */
    public SysBizMarketPage selectSysBizMarketPageById(Long id);

    /**
     * 查询营销页面定义列表
     *
     * @param queryWrapper 营销页面定义
     * @return 营销页面定义集合
     */
    public List<SysBizMarketPage> selectSysBizMarketPageList(LambdaQueryWrapper<SysBizMarketPage> queryWrapper);

    /**
     * 查询营销页面定义列表
     *
     * @param sysBizMarketPage 营销页面定义
     * @return 营销页面定义集合
     */
    public List<SysBizMarketPage> selectSysBizMarketPageList(SysBizMarketPage sysBizMarketPage);

    /**
     * 新增营销页面定义
     *
     * @param sysBizMarketPage 营销页面定义
     * @return 结果
     */
    public int insertSysBizMarketPage(SysBizMarketPage sysBizMarketPage);

    /**
     * 修改营销页面定义
     *
     * @param sysBizMarketPage 营销页面定义
     * @return 结果
     */
    public int updateSysBizMarketPage(SysBizMarketPage sysBizMarketPage);

    /**
     * 批量删除营销页面定义
     *
     * @param ids 需要删除的营销页面定义主键集合
     * @return 结果
     */
    public int deleteSysBizMarketPageByIds(Long[] ids);

    /**
     * 删除营销页面定义信息
     *
     * @param id 营销页面定义主键
     * @return 结果
     */
    public int deleteSysBizMarketPageById(Long id);

    SysBizMarketPageDto queryMarketPage(Long id, Long tenantId,Long userId);

    SysBizSaleActivityDto saleActivity(Long tenantId);
}